package com.fz.mapper;

import com.fz.entity.Student;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by webrx on 2017/6/13.
 */
public interface StudentMapper {
    @Select("select * from student")
    public List<Student> query();


    @Insert("insert into student values(null,#{name},#{address})")
    public int save(Student student);
}
